﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.SessionState;


namespace Leefish.Market.Web.Handler
{
    /// <summary>
    ///AdminPageBase 的摘要说明
    /// </summary>
    public class CommonPageBase : IHttpHandler, IRequiresSessionState
    {
        public CommonPageBase()
        {
            //
            //TODO: 在此处添加构造函数逻辑
            //
            
        }

        public Partner.Util.Web.RequestUtility requestUtility {
            get { return Partner.Util.Web.RequestUtility.Instance; }
        }

        public string action {
            get { return requestUtility.GetQueryString("action"); }
        }

        #region IHttpHandler 成员

        public bool IsReusable
        {
            get { throw new NotImplementedException(); }
        }

        public virtual void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/plain";
            //身份验证

        }

        #endregion
    }
}